
using GameGraphics;
using System;

namespace GameUnityFramework.UIView
{

    /// <summary>
    /// UIView的协助函数
    /// </summary>
    public class UIViewHelper
    {
        /// <summary>
        /// 通过UIView名称获取UIViewType
        /// </summary>
        /// <param name="UIViewName"></param>
        public static Type GetUIViewBaseType(string UIViewName)
        {
            try
            {
                return UIViewConfig.NameToTypeDict[UIViewName];
            }
            catch
            {
                return null;
            }
        }


    }
}
